<template>
	<view v-if="list.length">
		<view class="layout flex flexColumn" v-for="(item, index) in list" :key="index">
			<view class="top">
				<view class="title">{{ item.title }}</view>
				<view class="desc line1">{{ item.desc }}</view>
			</view>
			<view class="bottom flex">
				<image src="/static/cate.jpg" mode=""></image>
				<image src="/static/cate.jpg" mode=""></image>
				<image src="/static/cate.jpg" mode=""></image>
			</view>
			<view class="time">{{ item.time }}</view>
		</view>
	</view>	
</template>

<script>
	export default {
		props: {
			list: {
				type: Array,
				default: []
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.layout{
		.top{
			.title{
				font-size: 30rpx;
				color: #000;
			}
			.desc{
				font-size: 26rpx;
				color: #999;
				margin: 10rpx 0;
			}
			
		}
		.bottom{
			image{
				width: 200rpx;
				height: 150rpx;
				border-radius: 20rpx;
				flex: 1;
				&:not(:last-child){
					margin-right: 10rpx;
				}
			}
			
		}
		.time{
			font-size: 28rpx;
			color: #999;
			margin: 10rpx 0;
		}
	}
</style>